package gui;

import java.io.Serializable;

public class Port implements Serializable{
	private String name;
	private String type;
	public Port(String name, String type) {
		this.name=name;
		this.type=type;
	}
	@Override
	public String toString() {
		return name;
	}
	@Override
	public boolean equals(Object obj) {
		return type.equals(obj);
	}
}
